﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MallWeb.Controllers
{
    /// <summary>
    /// 样例Control
    /// </summary>
    public class DemoController : Controller
    {
        public ActionResult DemoList() {
            List<String> list=new List<string>();
            list.Add("Index");
            list.Add("About");
            list.Add("BlogDetail");
            list.Add("CheckOut");
            list.Add("CheckOutBillingInfo");
            list.Add("CheckOutMethod");
            list.Add("Compare");
            list.Add("Contact");
            list.Add("DashBoard");
            list.Add("Delivery");
            list.Add("Error404");
            list.Add("Faq");
            list.Add("Grid");
            list.Add("List");
            list.Add("Login");
            list.Add("MultipleAddresses");
            list.Add("NewsLetter");
            list.Add("ProductDetail");
            list.Add("QuickView");
            list.Add("ShoppingCart");
            list.Add("SiteMao");
            list.Add("WishList");
            Session["hello"] = "word";
            ViewBag.List = list;
            return View();
        }

        /// <summary>
        /// 首页默认Action
        /// </summary>
        /// <returns></returns>
        public ActionResult Index()
        {
            return View();
        }
        /// <summary>
        /// 联系我们
        /// </summary>
        /// <returns></returns>
        public ActionResult Contact() {
            return View();
        }
        /// <summary>
        /// 关于我们
        /// </summary>
        /// <returns></returns>
        public ActionResult About() {
            return View();
        }

        public ActionResult Error404() {
            return View();
        }

        public ActionResult Blog() {
            return View();
        }

        public ActionResult BlogDetail() {
            return View();
        }

        public ActionResult CheckOut() {
            return View();
        }

        public ActionResult CheckOutBillingInfo() {
            return View();
        }

        public ActionResult CheckOutMethod() {
            return View();
        }

        public ActionResult Compare() {
            return View();
        }

        public ActionResult DashBoard() {
            return View();
        }

        public ActionResult Delivery() {
            return View();
        }

        public ActionResult Faq() {
            return View();
        }

        public ActionResult Grid() {
            return View();
        }

        public ActionResult List() {
            return View();
        }

        public ActionResult Login() {
            return View();
        }

        public ActionResult MultipleAddresses() {
            return View();
        }

        public ActionResult NewsLetter() {
            return View();
        }

        public ActionResult ProductDetail() {
            return View();
        }

        public ActionResult QuickView() {
            return View();
        }

        public ActionResult ShoppingCart() {
            return View();
        }

        public ActionResult SiteMao() {
            return View();
        }

        public ActionResult WishList() {
            return View();
        }
    }
}